package rkdwogus7.practice;

import java.util.*;

public class Ex76 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Student stud = new Student();
		Subject subj = new Subject();
		Professor prof = new Professor();
		Department deprt = new Department();
		stud.department = deprt.deptName;
		stud.professor = prof.profName;
		deprt.chief = prof.profName;
		System.out.println("이름은?");
		stud.name = sc.next();
		System.out.println("학번은?");
		stud.stNo = sc.next();
		System.out.println("주소는?");
		stud.addr = sc.next();
		System.out.println("생년월일은?");
		stud.birth = sc.next();
		System.out.println("전공은?");
		stud.department = sc.next();
		System.out.println("담당교수는?");
		stud.professor = sc.next();
		
		System.out.println("이름 : " + stud.name);
		System.out.println("학번 : " + stud.stNo);
		System.out.println("주소 : " + stud.addr);
		System.out.println("생년월일 : " + stud.birth);
		System.out.println("전공 : " + stud.department);
		System.out.println("담당교수 : " + stud.professor);
		

	} // main

} // Ex76

class Student {
	String stNo;
	String name;
	String addr;
	String birth;
	String department;
	String professor;
	public Student() {
		
	}
	
} // Student

class Subject {
	String sbNo;
	String sbName;
	String summary;
	String section[];
	public Subject() {
		
	}
	
} // Subject

class Professor {
	String profName;
	String major;
	String tech[];
	String lecture[];
	public Professor() {
		profName = "송재성";
	}
} // Professor

class Department {
	String deptName;
	String loc;
	String tel;
	String chief;
	public Department() {
		deptName = "컴퓨터공학과";
	}
	
} // Major














